import {
  createRouter,
  createWebHashHistory
} from 'vue-router'


const routes = [{
    path: '/',
    name: 'index',
    component: () => import('@/views/index')
  },
  {
    path: '/login',
    name: 'login',
    component: () => import('@/views/login')
  },
  {
    path: '/routers',
    name: 'routers',
    component: () => import('@/views/routers'),
    children: [{
      path: '/ooo',
      component: ()=>import('@/views/ooo'),
    }]

  }
]

const router = createRouter({
  history: createWebHashHistory(),
  routes
})

export default router